﻿#region Usings

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

#endregion

namespace xConnected.Core.Model
{
    [Serializable]
    [DataContract]
    public class Country : PersistentEntity
    {
        public Country()
        {
            ExpertProfiles = new List<ExpertProfile>();
            CompanyProfiles = new List<CompanyProfile>();
            Positions = new List<Position>();
            TitleTranslations = new List<Translation>();
        }

        [DataMember]
        public string ShortName { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string Key { get; set; }

        [DataMember]
        public virtual IList<ExpertProfile> ExpertProfiles { get; set; }
       
        [DataMember]
        public virtual IList<CompanyProfile> CompanyProfiles { get; set; }
        
        [DataMember]
        public virtual IList<Position> Positions { get; set; }

        [DataMember]
        public virtual IList<Translation> TitleTranslations { get; set; }

    }
}